home *** CD-ROM | disk | FTP | other *** search
Text File | 1987-07-19 | 5.3 KB | 118 lines | [TEXT/MACA] |
- This is version 3.4 of UW, a multiple-window interface to UNIX for
- the Macintosh computer. The distribution for UW consists of two
- binary files for the Macintosh (in BinHex 4.0 format) and a number
- of source files for the (BSD) UNIX server.
-
- The distribution includes the following directories:
-
- h - all UW include files
- server - source code for the UW server
- lib - source code for the UW programmer's library
- utility - source code for miscellaneous utility programs
- doc - [nt]roff documentation (-ms and -man formats)
- misc - other things of possible interest
-
- UW was developed alternately on a Sun 3 and 4.3BSD VAX. It also
- has been tested (more briefly) on a Sun 2 (release 2.0), Integrated
- Solutions VME 68020 (release 3.05), and a Pyramid. It depends quite a
- bit upon BSD-specific features such as interprocess communication and
- will not run without modification on a System V UNIX system.
-
- Pyramid users: the good news is that I was able to compile and run UW
- on a Pyramid. The bad news is that I ran into several problems. First,
- Pyramid uses the structure tag (and typedef name) "fdset_t" for the
- type of a select() bitmask. The standard 4.[23]BSD name for this
- is "fd_set". To compile UW for a Pyramid, add "-Dfd_set=fdset_t" to
- the CFLAGS macro in each of the makefiles. Second, the Pyramid C
- compiler converts a multiply of an unsigned long by 16 into an
- arithmetic shift left of 4. Since the sign bit (apparently)
- doesn't participate in the shift, this gives the wrong result for
- numbers greater than 0x7ffffff. (It should perform a logical shift
- for unsigned longs.) I've reluctantly changed the code so that
- multiplies by 16 are explicitly expressed as left shifts (for which the
- C compiler correctly generates logical shifts).
-
- There are some differences in configuration for 4.2BSD and 4.3BSD.
- The VERSION parameter in the top-level "Makefile" should be set to
- 4.2 or 4.3 as appropriate. If your machine is a hybrid, you may need
- to consult the makefiles in the subdirectories. Sun 3.0 should be
- considered 4.2. (However, if you have Sun 3.2, you should remove the
- definition of SETOWN_BUG in "lib/Makefile_4.2".)
-
- A "make install" in the top-level directory will compile and install
- all of the (UNIX) pieces of the UW distribution. As distributed,
- this will create a link between the directory name "/usr/include/uw"
- and the "h" subdirectory and will create a "/usr/local/bin/libuw.a"
- library file. These two steps allow application program to use
- #include <uw/uwlib.h>
- and
- cc -o xyzzy xyzzy.o -luw
- for greater convenience in creating programs that use the UW library.
-
- If you do not have the "getopt" library routine, you will find the
- source in "misc/getopt.c" This source code was publicly distributed by
- AT&T and is also available in the "mod.sources" archive. You should
- compile it and install it in your machine's "/lib/libc.a" (Note that
- since it uses "strchr", you should compile it on a BSD system with the
- command "cc -O -c getopt.c -Dstrchr=index".) [Sorry, I can't find a
- manual page which I can (legally) include.] If you can't change
- "libc.a", then you should add it to the makefiles in the "server"
- and "lib" directories.
-
- This version differs from the previous release (v2.10) in several
- significant ways:
-
- 1) Nearly everything has been reimplemented. The cursor-addressible
- terminal emulations are faster. (Unfortunately, the Tek 4010
- emulation is slower.)
-
- 2) An optional extended protocol provides much greater Mac-host
- interaction. The host can now examine and alter a number
- of window characteristics (such as the window emulation type,
- whether or not it is visible, its title, etc.).
-
- 3) If the host supports window resizing via ioctl() (4.3BSD and
- Sun do), then window size changes on the Mac can optionally
- be propagated to the host. As a result, programs such as
- "more" and "vi" can be used in windows smaller (or larger)
- than 24x80.
-
- 4) UW will not run on a 128K Mac at all. It is far too large now.
-
- 5) There is an ANSI-compatible terminal emulation. It works with
- the "ansi" and "aa-24" termcap definitions, but it needs more
- work. It does not have some of the more bizarre capabilities
- of the VT-100. (The author still uses the ADM-31 emulation
- almost exclusively.)
-
- 6) It is possible to exit UW without performing a "Shutdown",
- use the Mac for something else, relaunch UW and perform a
- "Startup". The host will recreate the windows on the Mac
- (although the previous contents of the windows will be lost).
-
- UW wants to use a 7-point version of the Monaco font. Previous UW
- distributions included such a font; however, although a lot of work
- went into its creation, the font was originally derived from a 12-point
- Apple Monaco font. To avoid possibile license violations, the 7-point
- font is no longer distributed with UW.
-
- UW is not public domain. It is copyrighted. However, permission to
- copy UW is given provided that the copies are not sold and that the
- copyright notices are retained.
-
- Comments about UW can be sent to the author (me) at the following
- addresses:
-
- ARPANET/MILNET: jdb@s1-c.arpa
-
- UUCP: {seismo,lll-crg,decwrl,caip}!mordor!jdb
-
- U.S. Mail: John Bruner
- Lawrence Livermore National Laboratory
- P.O. Box 5503, L-276
- Livermore, CA 94550
-
- I try to answer all mail, but sometimes am unable to do so for reasons
- beyond my control (e.g. incomplete or incorrect return addresses,
- finicky mailers).
-